package com.fury.framework;

import java.util.HashMap;
import java.util.Map;

public class FuryObject {
	private Map<Class<? extends FurySystem>, FuryObject> objects;
	
	public FuryObject() {
		objects = new HashMap<Class<? extends FurySystem>, FuryObject>();
	}
	
	public void setObject(Class<? extends FurySystem> system, FuryObject object) {
		objects.put(system, object);
		// TODO register extension with StateManager
	}
	
	public FuryObject getObject(Class<? extends FurySystem> system) {
		return objects.get(system);
	}
}
